import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/beetles-offer/beetlesadverify/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

export const getTenantParamsList = (tenantId) => {
  return request({
    url: '/api/beetles-offer/beetlesadverify/tenantParams',
    method: 'get',
    params: {
      tenantId,
    }
  })
}

export const manualPulling = (tenantId, beetlesAdVerifyList) => {
  return request({
    url: '/api/beetles-offer/beetlesadverify/manualPulling',
    method: 'post',
    data: {
      tenantId,
      beetlesAdVerifyList,
    }
  })
}

export const questionArchive = (params) => {
  return request({
    url: '/api/beetles-offer/beetlesadverify/questionArchive',
    method: 'get',
    params: {
      ...params
    }
  })
}
